home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / mus / play / tracker_4_31.lzh / tracker / defs.h < prev    next >
C/C++ Source or Header  |  1995-02-21  |  1KB  |  81 lines

  1. /* defs.h 
  2.     vi:ts=3 sw=3:
  3.  */
  4.  
  5. /* $Id: defs.h,v 4.11 1995/02/21 17:54:32 espie Exp $ 
  6.  * $Log: defs.h,v $
  7.  * Revision 4.11  1995/02/21  17:54:32  espie
  8.  * Internal problem: buggy RCS. Fixed logs.
  9.  *
  10.  * Revision 4.5  1995/02/01  16:39:04  espie
  11.  * Includes moved to defs.h
  12.  *
  13.  * Revision 4.4  1995/01/28  09:23:59  espie
  14.  * Added #ifdef for MIN/MAX.
  15.  *
  16.  * Revision 4.2  1994/07/04  13:57:32  espie
  17.  * Binary stuff.
  18.  * Fixed up ansi C stupid bug.
  19.  * Added prototypes, and `generic' values.
  20.  * Better portability
  21.  * Stupid fix + type casts.
  22.  * Amiga support.
  23.  * Protracker commands.
  24.  */
  25.  
  26. #include "config.h"
  27. #include <stdio.h>
  28. #include <stdlib.h>
  29. #include <string.h>
  30. #ifdef MALLOC_NOT_IN_STDLIB
  31. #include <malloc.h>
  32. #endif
  33.  
  34. #ifndef EXPAND_WILDCARDS
  35. #define EXPAND_WILDCARDS(x,y)
  36. #endif
  37.  
  38. #ifdef BINARY_HEEDED
  39. #define READ_ONLY    "rb"
  40. #define WRITE_ONLY   "wb"
  41. #else
  42. #define READ_ONLY    "r"
  43. #define WRITE_ONLY   "w"
  44. #endif
  45.  
  46. #define LOCAL static
  47. /* X is too short */
  48. #define XT extern
  49.  
  50. #ifndef TRUE
  51. #define TRUE 1
  52. #define FALSE 0
  53. #endif
  54.  
  55. #ifndef MIN
  56. #define MIN(A,B) ((A)<(B) ? (A) : (B))
  57. #endif
  58. #ifndef MAX
  59. #define MAX(A,B) ((A)>(B) ? (A) : (B))
  60. #endif
  61.      
  62. #define D fprintf(stderr, "%d\n", __LINE__);
  63.  
  64. typedef union
  65.    {
  66.    unsigned long scalar;
  67.    float real;
  68.    GENERIC pointer;
  69.    } VALUE;
  70.  
  71. /* predefinitions for relevant structures */
  72. struct tag;
  73. struct channel;
  74. struct song;
  75. struct automaton;
  76. struct sample_info;
  77. struct event;
  78.  
  79.  
  80.  
  81.